<template>
  <view class="content">
    <view v-html="content"></view>
  </view>
</template>

<script setup lang="ts">
import { onMounted, ref, reactive, watch, nextTick, onActivated } from "vue";
import { onLoad, onShow, onHide } from "@dcloudio/uni-app";

const content = ref("");
onLoad((option) => {
  console.log("🚀 ~ onLoad ~ option.html:", decodeURIComponent(option.html));

  content.value = decodeURIComponent(option.html);
});
</script>

<style lang="scss" scoped>
.content {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
</style>
